//
//  LTSendMessgaeFinalModel.m
//  LTIM
//
//  Created by 俊松何 on 2017/3/31.
//  Copyright © 2017年 俊松何. All rights reserved.
//

#import "LTSendMessgaeFinalModel.h"
#import "LTMessage.h"
#import "MJExtension.h"
#import "LTLib.h"
@implementation LTSendMessgaeFinalModel

-(instancetype)initWithMessage:(LTMessage *)message
{
    if(self = [super init])
    {
        _messageId   = message.messageId;
        _sinceUserId = message.sinceUserId;
       _targetUserId = message.targetUserId;
              _since = message.since;
             _target = message.target;
        _messageType = message.messageType;
           _chatType = message.chatType;
              _extra = message.extra;
       _transContent = message.transContent;
               _data = [message.body mj_JSONString];
              _appId = [LTClient sharedClient].appId;
              _level = message.level;

    }
    return self;
}

@end
